from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template

urlpatterns = patterns('',
	(r'^register/$','lab.accounts.views.register_form'),
	(r'^register_confirm/$', direct_to_template, {'template': 'accounts/register_confirm.html'}),
	(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'accounts/login.html'}),
	(r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'accounts/logged_out.html'}),
        (r'^password_change/$', 'django.contrib.auth.views.password_change',{'template_name': 'accounts/password_change.html'}),
	(r'^password_change/done/$', 'django.contrib.auth.views.password_change_done',{'template_name': 'accounts/password_change_done.html'}),
        #(r'^register/$, 'lab.accounts.views.register_form'),
)